package com.dt.platform.constants.enums.ops;

import com.github.foxnic.api.constant.CodeTextEnum;


/**
 * @since 2021-07-24 10:25:37
 * @author 金杰 , maillank@qq.com
 * 从 select code,name from sys_dict WHERE deleted=0 and module in ('eam','hrm') 生成
 * 此文件由工具自动生成，请勿修改。若表结构变动，请使用工具重新生成
 */


public enum MonitorMethodEnum implements CodeTextEnum {

    ZABBIX_AGENT("zabbix_agent" , "Zabbix客户端取数"),
    MYSQL_JDBC("mysql_jdbc" , "Jdbc_MySQL"),
    ORACLE_JDBC("oracle_jdbc" , "Jdbc_Oracle"),
    DB2_JDBC("db2_jdbc" , "Jdbc_DB2"),
    PG_JDBC("pg_jdbc" , "Jdbc_PostgreSQL"),
    DM_JDBC("dm_jdbc" , "Jdbc_DM"),
    GAUSSDB_JDBC("gaussdb_jdbc" , "Jdbc_GaussDB"),
    OB_MYSQL_JDBC("ob_mysql_jdbc" , "Jdbc_OceanBase_MySQL"),
    SQLSERVER_JDBC("sqlserver_jdbc" , "Jdbc_SqlServer"),
    OB_ORACLE_JDBC_TPL("ob_oracle_jdbc_tpl" , "Jdbc_Tpl_OceanBase_Oracle"),
    OB_MYSQL_JDBC_TPL("ob_mysql_jdbc_tpl" , "Jdbc_Tpl_OceanBase_MySQL"),
    MYSQL_5_JDBC_TPL("mysql_5_jdbc_tpl" , "Jdbc_Tpl_MySQL_5"),
    MYSQL_8_JDBC_TPL("mysql_8_jdbc_tpl" , "Jdbc_Tpl_MySQL_8"),
    GAUSSDB_JDBC_TPL("gaussdb_jdbc_tpl" , "Jdbc_Tpl_GaussDB"),
    ORALCE_JDBC_TPL("oracle_jdbc_tpl" , "Jdbc_Tpl_Oracle"),
 
    MAGIC_API("magic_api" , "Magic_Api"),
    SCRIPT("script" , "脚本取数"),
    PING("ping" , "Ping_4_6"),
    CALCULATED_BY_CODE("calculated_by_code" , "计算取数");
    private String code;
    private String text;
    private MonitorMethodEnum(String code, String text)  {
        this.code=code;
        this.text=text;
    }

    public String code() {
        return code;
    }

    public String text() {
        return text;
    }
}